<div class="history_level_1"><a href="index.php?admin=1" style="color:#4C4C4C;">{t t='Visi puslapiai su komentuotais elementais'}</a></div>
<div class="history_level_2"><a href="index.php?admin=1&tpl_page_id={$smarty.get.tpl_page_id}" style="color:#4C4C4C;">{t t='Visi komentuoti elementai puslapyje'} "{$selected_page_data.name}" <i>({t t=$selected_page_data.type})</i></a></div>
<div class="history_current" style="padding:5px 50px;">{$coments.main.name} <i style="font-weight:normal">({t t=$coments.main.type})</i></div>
<div class="header3">{t t='Komentarai'}</div>
<ul class="comments_list">
{foreach from=$coments.data item="el" key="comment_id"}
	<li class="date"><a href="#" onClick="delete_comment(1, 'delete_comments', {$comment_id});"><img src="_tvs_system_core_/design/img/admin/_icon_delete.gif" alt="{t t='Ištrinti komentarą'}" class="dc"></a><a href="#" onClick="toggle_comment('c{$comment_id}')">{$el.date}</a></li>
	<li class="comment hidden" id="c{$comment_id}">		
	{foreach from=$el item="field" key="key"}
		{if $key!='date'}
			<div class="cfn">{$field.name}:</div>
			<div class="cfv">{$field.value|truncate:300|strip_tags|nl2br}</div>
		{/if}
	{/foreach}		
	</li>
{/foreach}
</ul>